/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package telas;

import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JTextField;

/**
 *
 * @author Thalyta
 */
public class CadastroClienteView extends javax.swing.JFrame {

    /**
     * Creates new form CadastroClienteView
     */
    public CadastroClienteView() {
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    public JButton getBtnfechar() {
        return btnfechar;
    }

    public void setBtnfechar(JButton btnfechar) {
        this.btnfechar = btnfechar;
    }

    public JButton getBtnsalvar() {
        return btnsalvar;
    }

    public void setBtnsalvar(JButton btnsalvar) {
        this.btnsalvar = btnsalvar;
    }

    public JTextField getTxtCpf() {
        return txtCpf;
    }

    public void setTxtCpf(JTextField txtCpf) {
        this.txtCpf = txtCpf;
    }

 

    public JLabel getLblcpf() {
        return lblcpf;
    }

    public void setLblcpf(JLabel lblcpf) {
        this.lblcpf = lblcpf;
    }

    public JLabel getLbldatanascimento() {
        return lbldatanascimento;
    }

    public void setLbldatanascimento(JLabel lbldatanascimento) {
        this.lbldatanascimento = lbldatanascimento;
    }

    public JLabel getLblendereco() {
        return lblendereco;
    }

    public void setLblendereco(JLabel lblendereco) {
        this.lblendereco = lblendereco;
    }

    public JLabel getLblnome() {
        return lblnome;
    }

    public void setLblnome(JLabel lblnome) {
        this.lblnome = lblnome;
    }

    public JLabel getLblnomeusuario() {
        return lblnomeusuario;
    }

    public void setLblnomeusuario(JLabel lblnomeusuario) {
        this.lblnomeusuario = lblnomeusuario;
    }

    public JTextField getTxtdatanascimento() {
        return txtdatanascimento;
    }

    public void setTxtdatanascimento(JTextField txtdatanascimento) {
        this.txtdatanascimento = txtdatanascimento;
    }

    public JTextField getTxtendereco() {
        return txtendereco;
    }

    public void setTxtendereco(JTextField txtendereco) {
        this.txtendereco = txtendereco;
    }

    public JTextField getTxtnome() {
        return txtnome;
    }

    public void setTxtnome(JTextField txtnome) {
        this.txtnome = txtnome;
    }

    public JTextField getTxtnomeusuario() {
        return txtnomeusuario;
    }

    public void setTxtnomeusuario(JTextField txtnomeusuario) {
        this.txtnomeusuario = txtnomeusuario;
    }

    public JLabel getLblcodigo() {
        return lblcodigo;
    }

    public void setLblcodigo(JLabel lblcodigo) {
        this.lblcodigo = lblcodigo;
    }

    public JLabel getLblconta() {
        return lblconta;
    }

    public void setLblconta(JLabel lblconta) {
        this.lblconta = lblconta;
    }

    public JLabel getLblinformaçãoagencia() {
        return lblinformaçãoagencia;
    }

    public void setLblinformaçãoagencia(JLabel lblinformaçãoagencia) {
        this.lblinformaçãoagencia = lblinformaçãoagencia;
    }

    public JLabel getLbllimite() {
        return lbllimite;
    }

    public void setLbllimite(JLabel lbllimite) {
        this.lbllimite = lbllimite;
    }

    public JLabel getLblnumeroconta() {
        return lblnumeroconta;
    }

    public void setLblnumeroconta(JLabel lblnumeroconta) {
        this.lblnumeroconta = lblnumeroconta;
    }

    public JLabel getLblsaldo() {
        return lblsaldo;
    }

    public void setLblsaldo(JLabel lblsaldo) {
        this.lblsaldo = lblsaldo;
    }

 

    public JTextField getTxtcodigo() {
        return txtcodigo;
    }

    public void setTxtcodigo(JTextField txtcodigo) {
        this.txtcodigo = txtcodigo;
    }

    public JTextField getTxtlimite() {
        return txtlimite;
    }

    public void setTxtlimite(JTextField txtlimite) {
        this.txtlimite = txtlimite;
    }

    public JTextField getTxtnumeroconta() {
        return txtnumeroconta;
    }

    public void setTxtnumeroconta(JTextField txtnumeroconta) {
        this.txtnumeroconta = txtnumeroconta;
    }

    public JTextField getTxtsaldo() {
        return txtsaldo;
    }

    public void setTxtsaldo(JTextField txtsaldo) {
        this.txtsaldo = txtsaldo;
    }

  
    
    
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jPopupMenu1 = new javax.swing.JPopupMenu();
        txtnome = new javax.swing.JTextField();
        btnsalvar = new javax.swing.JButton();
        btnfechar = new javax.swing.JButton();
        txtCpf = new javax.swing.JTextField();
        lblcpf = new javax.swing.JLabel();
        lblnomeusuario = new javax.swing.JLabel();
        txtnomeusuario = new javax.swing.JTextField();
        txtendereco = new javax.swing.JTextField();
        lblendereco = new javax.swing.JLabel();
        lblnome = new javax.swing.JLabel();
        lbldatanascimento = new javax.swing.JLabel();
        txtdatanascimento = new javax.swing.JTextField();
        lblconta = new javax.swing.JLabel();
        lblnumeroconta = new javax.swing.JLabel();
        txtnumeroconta = new javax.swing.JTextField();
        lbllimite = new javax.swing.JLabel();
        txtlimite = new javax.swing.JTextField();
        lblsaldo = new javax.swing.JLabel();
        txtsaldo = new javax.swing.JTextField();
        lblinformaçãoagencia = new javax.swing.JLabel();
        lblcodigo = new javax.swing.JLabel();
        txtcodigo = new javax.swing.JTextField();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setLocationByPlatform(true);

        btnsalvar.setText("Salvar");

        btnfechar.setText("Fechar");

        lblcpf.setText("CPF :");

        lblnomeusuario.setText("Nome do Usuario :");

        lblendereco.setText("Endereço :");

        lblnome.setText("Nome : ");

        lbldatanascimento.setText("Data de Nascimento :");

        txtdatanascimento.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtdatanascimentoActionPerformed(evt);
            }
        });

        lblconta.setText("Informaçoes sobre a conta ");

        lblnumeroconta.setText("Numero Conta :");

        lbllimite.setText("Limite :");

        lblsaldo.setText("Saldo: ");

        lblinformaçãoagencia.setText("Informaçoes agencia");

        lblcodigo.setText("Codigo Agencia :");

        txtcodigo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtcodigoActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(btnsalvar)
                .addGap(42, 42, 42)
                .addComponent(btnfechar)
                .addGap(25, 25, 25))
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(15, 15, 15)
                        .addComponent(lblnome))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(lblendereco)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(0, 0, Short.MAX_VALUE)
                        .addComponent(lblcpf)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(txtCpf, javax.swing.GroupLayout.PREFERRED_SIZE, 94, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(38, 38, 38))
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(txtnome, javax.swing.GroupLayout.PREFERRED_SIZE, 126, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(lbldatanascimento)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(txtdatanascimento, javax.swing.GroupLayout.PREFERRED_SIZE, 167, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                                .addGap(62, 62, 62)
                                .addComponent(txtendereco, javax.swing.GroupLayout.PREFERRED_SIZE, 319, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addComponent(lblnumeroconta)
                                    .addComponent(lblnomeusuario))
                                .addGap(18, 18, 18)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(txtnomeusuario, javax.swing.GroupLayout.PREFERRED_SIZE, 132, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addGroup(layout.createSequentialGroup()
                                        .addComponent(txtnumeroconta, javax.swing.GroupLayout.PREFERRED_SIZE, 91, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(34, 34, 34)
                                        .addComponent(lbllimite)
                                        .addGap(18, 18, 18)
                                        .addComponent(txtlimite, javax.swing.GroupLayout.PREFERRED_SIZE, 66, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(38, 38, 38)
                                        .addComponent(lblsaldo)
                                        .addGap(18, 18, 18)
                                        .addComponent(txtsaldo, javax.swing.GroupLayout.PREFERRED_SIZE, 104, javax.swing.GroupLayout.PREFERRED_SIZE))))))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(204, 204, 204)
                        .addComponent(lblinformaçãoagencia))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(37, 37, 37)
                        .addComponent(lblcodigo)
                        .addGap(18, 18, 18)
                        .addComponent(txtcodigo, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(214, 214, 214)
                        .addComponent(lblconta)))
                .addContainerGap(20, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(12, 12, 12)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lblnome)
                    .addComponent(lbldatanascimento)
                    .addComponent(txtdatanascimento, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(txtnome, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(txtendereco, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblendereco)
                    .addComponent(txtCpf, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblcpf))
                .addGap(31, 31, 31)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lblnomeusuario)
                    .addComponent(txtnomeusuario, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(27, 27, 27)
                .addComponent(lblconta)
                .addGap(26, 26, 26)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lblnumeroconta)
                    .addComponent(txtnumeroconta, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lbllimite)
                    .addComponent(txtlimite, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblsaldo)
                    .addComponent(txtsaldo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(36, 36, 36)
                .addComponent(lblinformaçãoagencia)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 21, Short.MAX_VALUE)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lblcodigo)
                    .addComponent(txtcodigo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(21, 21, 21)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btnfechar)
                    .addComponent(btnsalvar))
                .addGap(19, 19, 19))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void txtdatanascimentoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtdatanascimentoActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_txtdatanascimentoActionPerformed

    private void txtcodigoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtcodigoActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_txtcodigoActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(CadastroClienteView.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(CadastroClienteView.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(CadastroClienteView.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(CadastroClienteView.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new CadastroClienteView().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnfechar;
    private javax.swing.JButton btnsalvar;
    private javax.swing.JPopupMenu jPopupMenu1;
    private javax.swing.JLabel lblcodigo;
    private javax.swing.JLabel lblconta;
    private javax.swing.JLabel lblcpf;
    private javax.swing.JLabel lbldatanascimento;
    private javax.swing.JLabel lblendereco;
    private javax.swing.JLabel lblinformaçãoagencia;
    private javax.swing.JLabel lbllimite;
    private javax.swing.JLabel lblnome;
    private javax.swing.JLabel lblnomeusuario;
    private javax.swing.JLabel lblnumeroconta;
    private javax.swing.JLabel lblsaldo;
    private javax.swing.JTextField txtCpf;
    private javax.swing.JTextField txtcodigo;
    private javax.swing.JTextField txtdatanascimento;
    private javax.swing.JTextField txtendereco;
    private javax.swing.JTextField txtlimite;
    private javax.swing.JTextField txtnome;
    private javax.swing.JTextField txtnomeusuario;
    private javax.swing.JTextField txtnumeroconta;
    private javax.swing.JTextField txtsaldo;
    // End of variables declaration//GEN-END:variables
}
